package com.bbcare.treat.plat.entity;

import java.io.Serializable;
import javax.persistence.Entity;

/**
 * @name: tr_scheme_info 诊疗方案配置实体类
 * @author: DemonLee
 * @createTime: 2017.8.14
 * @description: 诊疗方案配置记录
 * @modify:
 * 
 */

@Entity
public class TrScheme implements Serializable {
    private static final long serialVersionUID = 1L;
    // 方案id
    private String id;
    // 方案名称
    private String schemeName;
    // 诊疗总任务数
    private int totalTime;
    // 方案类型 0：个人私有方案 1：租户私有方案 2：公开方案
    private String schemeType;
    // 方案简介
    private String schemeIntro;
    // 当前方案最新版本
    private int newVersion;
    // 方案状态 0未发布(草稿)，1已发布，2已删除
    private String schemeStatus;
    // 创建时间
    private String createTime;
    // 更新时间
    private String updateTime;
    // 方案所属租户id
    private String tenantId;
    // 方案所属人id
    private String authorId;
    // 操作流水
    private String updateAccept;

    public void setId(String id) {
        this.id = id;
    }

    public String getId() {
        return id;
    }

    public void setSchemeName(String schemeName) {
        this.schemeName = schemeName;
    }

    public String getSchemeName() {
        return schemeName;
    }

    public void setTotalTime(int totalTime) {
        this.totalTime = totalTime;
    }

    public int getTotalTime() {
        return totalTime;
    }

    public void setSchemeType(String schemeType) {
        this.schemeType = schemeType;
    }

    public String getSchemeType() {
        return schemeType;
    }

    public void setSchemeIntro(String schemeIntro) {
        this.schemeIntro = schemeIntro;
    }

    public String getSchemeIntro() {
        return schemeIntro;
    }

    public void setNewVersion(int newVersion) {
        this.newVersion = newVersion;
    }

    public int getNewVersion() {
        return newVersion;
    }

    public void setSchemeStatus(String schemeStatus) {
        this.schemeStatus = schemeStatus;
    }

    public String getSchemeStatus() {
        return schemeStatus;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setTenantId(String tenantId) {
        this.tenantId = tenantId;
    }

    public String getTenantId() {
        return tenantId;
    }

    public void setAuthorId(String authorId) {
        this.authorId = authorId;
    }

    public String getAuthorId() {
        return authorId;
    }

    public void setUpdateAccept(String updateAccept) {
        this.updateAccept = updateAccept;
    }

    public String getUpdateAccept() {
        return updateAccept;
    }
}
